package com.xiaodou.mjf.infrastructure.generate.domain;

import java.util.List;
import java.util.Set;

import com.google.common.collect.Lists;
import com.google.common.collect.Sets;

public class Entity {

	private String tableName;
	private String className;
	
	private Long serialNum;
	private Set<String> imports = Sets.newHashSet();

	private List<Field> fields = Lists.newArrayList();

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public List<Field> getFields() {
		return fields;
	}

	public void setFields(List<Field> fields) {
		this.fields = fields;
	}
	
	public Long getSerialNum() {
		return serialNum;
	}
	public void setSerialNum(Long serialNum) {
		this.serialNum = serialNum;
	}
	public void setImports(Set<String> imports) {
		this.imports = imports;
	}
	public Set<String> getImports() {
		return imports;
	}
	
}
